﻿
using ProjectScheduling_web.model;
using System.Linq.Expressions;

namespace ProjectScheduling_web.dao
{
    public class PreparedDataDao : BaseDao<PreparedData>
    {
        public readonly static PreparedDataDao Base = new();
        public new List<PreparedData> FindAll(Expression<Func<PreparedData, bool>> func)
        {
            return Db.Queryable<PreparedData>().Where(func).Includes(it => it.PrepardStaffs).ToList();
        }
    }
}
